from celery import shared_task
@shared_task
def send_email(user_id):
    from django.contrib.auth.models import User
    user = User.objects.get(id=user_id)
    print(f"Sending email to {user.email}")